box gadget: Fix allocation without baseline
authorMatthias Clasen <mclasen@redhat.com>
Sun, 7 Feb 2016 14:08:56 +0000 (15:08 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 7 Feb 2016 14:08:56 +0000 (15:08 +0100)
commitaf64a60466bd0a8cdcd16d68731f3fc125a62dec
treea8788333fc595beeac1d2b40cbf37da1292a0d8d
parent5f01e6924f9abb56bade811cef21f0e436371b1e
box gadget: Fix allocation without baseline

When we don't get a baseline passed in, we want to basically
center the children inside the allocation. There was an attempt
in the code to do 'internal baseline alignment', but it had the
side effect of moving the contents to the top when we don't get
a baseline passed in. Remove it for now, this needs some more
infrastructure to do properly.

https://bugzilla.gnome.org/show_bug.cgi?id=761363
gtk/gtkboxgadget.c